<?php
declare(strict_types=1);

namespace App\Controller\Admin;

use App\Annotation\ModuleAndAction;
use App\Middleware\AdminMiddleware;
use App\Model\AdminRole;
use Hyperf\HttpServer\Annotation\AutoController;
use Hyperf\HttpServer\Annotation\Middleware;

/**
 * @AutoController()
 * @ModuleAndAction(module="管理后台:管理员:角色管理", icon="fa fa-unlock-alt")
 * @Middleware(AdminMiddleware::class)
 */
class RoleController extends BaseController
{
    /**
     * @var string $model
     */
    public $model = AdminRole::class;
}
